#ifndef IMAGEITEMPROXY_H
#define IMAGEITEMPROXY_H

#include <QWidget>

class ImageItem;
class ImageItemProxyPrivate;
class ImageItemProxy : public QWidget
{
    Q_OBJECT
public:
    explicit ImageItemProxy(QWidget *parent = 0);
    ~ImageItemProxy();

    void setUrl(const QUrl& url);
    QUrl url() const;

    void setDescription(const QString& desc);
    QString description() const;

public slots:
    void showQrCode();
    void locate();

private:
    ImageItemProxyPrivate* d_ptr;
    Q_DISABLE_COPY(ImageItemProxy)
};

#endif // IMAGEITEMPROXY_H
